﻿using EYangFramework.Common.Ninject;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EYangFramework.Common.AutoMapper
{
    public class AutoMapProvider
    {
        /// <summary>
        /// 因为在注册程序集的情况不是很多,所以提供每次一个单独的对象
        /// </summary>
        /// <returns></returns>
        public static AutoMapHelper AutoMapHelper
        {
            get { return NinjectProvider.NinjectCore.GetService<AutoMapHelper>(); }
        }
    }
}
